<?php
/* @var $this LabController */
/* @var $model Lab */

$this->breadcrumbs=array(
	'实验室管理'=>array('admin'),
	$model->lab_name,
);

$this->menu=array(
	array('label'=>'返回实验室管理', 'url'=>array('admin')),
	array('label'=>'更新当前实验室', 'url'=>array('update', 'id'=>$model->lab_id)),
	array('label'=>'删除当前实验室', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->lab_id),'confirm'=>'Are you sure you want to delete this item?')),
);
?>

<h1>查看实验室信息 #<?php echo $model->lab_name; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'lab_id',
		'user_id',
		'labtype_id',
		'lab_name',
		'description',
                                           'create_date',
                                           array(
                                                   'name' => 'image',
                                                   'type' => 'image',
                                                   'value' => Yii::app()->baseUrl.'/' . $model->picture->description . $model->picture->fileName,
                                           ),
	),
)); ?>
